package com.topisv.tms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.WarehouseAddress;
import com.topisv.tms.repository.WarehouseAddressDao;


@Component
@Transactional(readOnly = true)
public class WarehouseAddressService {
	@Autowired
	private WarehouseAddressDao warehouseAddressDao;
	
	public WarehouseAddress findByWarehouseCode(String warehouseCode)
	{
		return warehouseAddressDao.findByWarehouseCode(warehouseCode);
	}
	
}
